package com.woniu.web.service.impl;

import com.woniu.pojo.PojoUser;
import com.woniu.vo.VoUser;
import com.woniu.web.mapper.TbJpUserDao;
import com.woniu.web.service.TbJpUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional
public class TbJpUserServiceImpl implements TbJpUserService {
    @Resource
    private TbJpUserDao tbJpUserDao;

    @Override
    public List<PojoUser> selUsers(VoUser user) {
        return tbJpUserDao.queryUsersPage(user);
    }
}
